<script type="text/javascript">
$(document).ready(function(){
	$('.date-pick').datePicker({startDate:'1996.01.01'});
	$("#fourth").children("ul").children("li").each(function(){
        $(this).click(function(){
           var num = $(this).attr("lang");
           $("#fourth").children("ul").children("li").removeClass('cur');
           $(this).addClass('cur');
           $(".charts").hide();
           if(num==0){
           	$("#category_chart").show();
           	$("#search").show();
           }else if(num==1){
           	$("#search").hide();
               $("#model_chart").show();
           }else{
           	$("#search").hide();
           	$("#code_chart").show();
           }
        })       
   })
})


</script>
<style>
  .sum{clear:both;}
  .sum li{list-style:none;float:left;width:150px;line-height:35px;height:35px;cursor:pointer;margin-bottom:5px;font-size:14px;}
  .sum2{clear:both;}
  .sum2 li{list-style:none;float:left;width:150px;line-height:15px;height:15px;cursor:pointer;margin-bottom:15px;font-size:12px;}

  .cur{color:red;font-weight:600;font-size:16px;}
</style>
<div id="center-column">
  <div class="sum"><ul><li  lang="0"><a href="<?php echo  base_url();?>chart/index" >数据总量统计</a></li><li lang="1" ><a href="<?php echo  base_url();?>chart/send_total" >资料发放统计</a></li><li lang="2" ><a href="<?php echo  base_url();?>chart/update_total" >资料更新统计</a></li><li lang="3"><a class="cur" href="<?php echo  base_url();?>chart/inventory_total" >库存统计</a></li></ul></div>
        <div style="height:470px;overflow:auto;margin-top:10px;clear:both;" id="model_chart" class="charts">

             <table class="listing" cellpadding="0" cellspacing="0">
                     <tr><th width="10%">型号</th><th>资料种类数</th><th>资料库存数</th></tr>
             
                     <tr><td><?php echo $mod_count;?></td><td><?php echo $category_count;?></td><td><?php echo $total_count;?></td></tr>
                   
                  </table>
    
                </div>
            
		</div>
	</div>
	<div id="footer"></div>
</div>



</body>
</html>
